.timeline-item {
  display: flex;
  align-items: flex-start;
  padding: 16px 0;
  position: relative;

  &:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 72px;
    width: 2px;
    height: calc(100% - 48px);
    background: #e8e8e8;
  }

  &.active::after,
  &.completed::after {
    background: #52c41a;
  }

  .step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    margin-right: 16px;
    z-index: 1;
  }

  .step-content {
    flex: 1;
    padding-top: 8px;

    .step-title {
      font-size: 20px;
      font-weight: 500;
      color: #333;
      line-height: 1.5;
      display: block;
      margin-bottom: 8px;
    }

    .step-duration {
      font-size: 16px;
      color: #999;
      display: block;
    }

    .step-description {
      font-size: 16px;
      color: #666;
      line-height: 1.6;
      margin-top: 8px;
      display: block;
    }
  }

  &.active {
    .step-title {
      color: #52c41a;
      font-weight: 600;
    }
  }

  &.completed {
    .step-title {
      color: #999;
    }
  }
}

